<?php echo $header; ?>

<?php 

//=====================================//
//== Default values if empty options ==//
//=====================================//

// Background
if(empty($background_color)) $background_color 					="";

// Fonts
if(empty($title_font)) $title_font 								="";
if(empty($title_font_family)) $title_font_family 				="";
if(empty($menu_font)) $menu_font 								="";
if(empty($menu_font_family)) $menu_font_family 					="";
if(empty($menu_font_size)) $menu_font_size 						="";
if(empty($boxheading_font)) $boxheading_font 					="";
if(empty($boxheading_font_family)) $boxheading_font_family 		="";
if(empty($boxheading_font_size)) $boxheading_font_size 			="";

// Top Time
if(empty($time_text)) $time_text 								="";

// Top Blocks
if(empty($firstblock_title)) $firstblock_title 					="";
if(empty($firstblock_desc)) $firstblock_desc 					="";
if(empty($secondblock_title)) $secondblock_title 				="";
if(empty($secondblock_desc)) $secondblock_desc 					="";
if(empty($thirdblock_title)) $thirdblock_title 					="";
if(empty($thirdblock_desc)) $thirdblock_desc 					="";
if(empty($fourthblock_title)) $fourthblock_title 				="";
if(empty($fourthblock_desc)) $fourthblock_desc 					="";
if(empty($fifthblock_title)) $fourthblock_title 				="";
if(empty($fifthblock_desc)) $fourthblock_desc 					="";
if(empty($firstblock_link)) $firstblock_link 					="#";
if(empty($secondblock_link)) $secondblock_link 					="#";
if(empty($thirdblock_link)) $thirdblock_link 					="#";
if(empty($fourthblock_link)) $fourthblock_link 					="#";
if(empty($fifthblock_link)) $fifthblock_link 					="#";

// Contact Us Widget
if(empty($address)) $address 									="";
if(empty($phone)) $phone 										="";
if(empty($phone_second)) $phone_second 							="";
if(empty($email)) $email 										="";
if(empty($email_second)) $email_second 							="";

// Custom Widget
if(empty($custom_widget_title)) $custom_widget_title 			="";
if(empty($footer_info_text)) $footer_info_text 					="";
if(empty($shipping_text)) $shipping_text 						="";
if(empty($shipping_last_text)) $shipping_last_text 				="";

// Facebook and Twitter Widgets
if(empty($facebook_id)) $facebook_id 							="";
if(empty($twitter_username)) $twitter_username 					="";

// Social Network Links
if(empty($facebook_link)) $facebook_link 						="";
if(empty($twitter_link)) $twitter_link 							="";
if(empty($google_link)) $google_link 							="";
if(empty($youtube_link)) $youtube_link 							="";
if(empty($flickr_link)) $flickr_link 							="";

// Slideshow
if(empty($option_slideshow)) $option_slideshow 					="span6";
if(empty($amazon_slideshow_width)) $amazon_slideshow_width 		="span6";
if(empty($amazon_slideshow_height)) $amazon_slideshow_height 	="350";
?>

<style type="text/css">
	.customhelp { color: #666; font-size:0.9em; }
	.color { border:1px solid #AAA; }
	.pttrn {width:32px; display: inline-block; text-align: center;}
</style>



<div id="content">
	<div class="breadcrumb">
		<?php foreach ($breadcrumbs as $breadcrumb) { ?>
		<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
		<?php } ?>
	</div>
	<?php if ($error_warning) { ?>
	<div class="warning"><?php echo $error_warning; ?></div>
	<?php } ?>

<div class="box">

	<div class="heading">
		<h1><img src="view/image/module.png" alt="" /> <?php echo $heading_title; ?></h1>
		<div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><?php echo $button_cancel; ?></a></div>
	</div>

	<div class="content wrapper">
	
    
    <div class="back_ptrn">

	<div class="option_wrap">
		<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
        
    	<div class="heading">
        	<img src="../admin/view/image/logo-option.png" class="logo-option">
            <p>
            	If you have any question or problem, <span class="green" >feel free to open your ticket through our forum : </span><br/>
                <a target="_blank" href="http://support.venzastudio.com">Support Forum</a>
            </p>
            <select name="status" class="status_select">
				<?php if ($status) { ?>
				<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
				<option value="0"><?php echo $text_disabled; ?></option>

				<?php } else { ?>
				<option value="1"><?php echo $text_enabled; ?></option>
				<option value="0" selected="selected"><?php echo $text_disabled; ?></option>
				<?php } ?>
			</select>
        </div><!--/heading-->
    
		<div class="clear"></div>
		
		<div id="settings_tabs" class="htabs-custom clearfix depts">
			<a href="#layout_settings" class="bod"><img src="../admin/view/image/bod.png" alt="" > Body</a>
            <a href="#container_settings" class="cont"><img src="../admin/view/image/cont.png" alt="" > Container</a>
            <a href="#colors_settings" class="colo"><img src="../admin/view/image/colors.png" alt="" > Colors</a>
            <a href="#buttons_settings" class="butt"><img src="../admin/view/image/buttons.png" alt="" > Buttons</a>
            <a href="#fonts_settings" class="font"><img src="../admin/view/image/font.png" alt="" > Fonts</a>
            <a href="#footer2_settings" class="foot"><img src="../admin/view/image/sett.png" alt="" > Custom Options</a>  
              <a href="#other_settings" class="foot"><img src="../admin/view/image/sett.png" alt="" > Other Options</a>  
		</div>

		<div class="clear"></div>
		
   		<div class="data_right">
        
        <!--**************************************************************************************** Body ***************************-->
		<div id="layout_settings" class="divtab">

			<table class="form">

				<tr><td colspan="2"><h3><?php echo $entry_pattern_sub; ?></h3></td></tr>


 <!--****************************************************************
 ********************************************************************
 
 Body:
 
 *******************************************************************
  *******************************************************************
 -->


				<!--** Choose Pattern **--> 
				<tr>
					<td><?php echo $entry_pattern_overlay; ?></td>
					<td>
						<div>
							<?php for ($i = 1; $i <= 36; $i++) { ?>
								<div class="pttrn"><span class="customhelp"><?php echo $i; ?></span><img src="view/image/patterns/<?php echo $i; ?>.png" alt="pattern <?php echo $i; ?>"></div>
								<?php if(!($i%12)): ?>
									<br />
								<?php endif ?>
							<?php } ?>
						</div><br>
						<select name="pattern_overlay">
							<option value="none"selected="selected">none</option>
							<?php for ($i = 1; $i <= 36; $i++) { 
									($this->config->get('pattern_overlay')== $i) ? $currentpat = 'selected' : $currentpat = '';
								?>
								<option value="<?php echo $i; ?>" <?php echo $currentpat; ?>><?php echo $i; ?></option>';
								<?php } ?>
						</select>
						<span class="customhelp"><?php echo $entry_pattern_overlay_help; ?></span>
					</td>
				</tr>
				<!--** Upload Pattern **-->
				<tr>
					<td><?php echo $entry_custom_pattern; ?> </td>
					<td>
						<input type="hidden" name="custom_pattern" value="<?php echo $custom_pattern; ?>" id="custom_pattern" />
						<img src="<?php echo $pattern_preview; ?>" id="pattern_preview" />
						<br /><a onclick="image_upload('custom_pattern', 'pattern_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pattern_preview').attr('src', '<?php echo $no_image; ?>'); $('#custom_pattern').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
				</tr>                             
                <!--** Upload Background Image **-->
				<tr>   
					<td>
						<?php echo $entry_custom_image; ?><br>
						<span class="customhelp"><?php echo $entry_custom_image_help; ?></span>
					</td>
					<td>
						<input type="hidden" name="custom_image" value="<?php echo $custom_image; ?>" id="custom_image" />
						<img src="<?php echo $image_preview; ?>" alt="" id="image_preview" />
						<br /><a onclick="image_upload('custom_image', 'image_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#image_preview').attr('src', '<?php echo $no_image; ?>'); $('#custom_image').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
				</tr>
            	<!--** Main background color **-->
                    <tr>
                        <td><?php echo $entry_background_color; ?></td>
                        <td><input type="text" name="background_color" value="<?php echo $background_color; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_body_help; ?></span></td>
                    </tr> 
				</table>
				
			</div><!--/layout_settings-->

			
            
            <!--***************************************************************************************** container *******************-->
            <div id="container_settings" class="divtab">
    
                <table class="form">
                
                	  <tr><td colspan="2"><h3><?php echo $entry_pattern_sub_cont; ?></h3></td></tr>
                      <!--** Choose Pattern **-->                  
                      <tr>
                        <td><?php echo $entry_pattern_overlay; ?></td>
                        <td>
                            <div>
                                <?php for ($i = 1; $i <= 36; $i++) { ?>
                                    <div class="pttrn"><span class="customhelp"><?php echo $i; ?></span><img src="view/image/patterns/<?php echo $i; ?>.png" alt="pattern <?php echo $i; ?>"></div>
                                    <?php if(!($i%12)): ?>
                                        <br />
                                    <?php endif ?>
                                <?php } ?>
                            </div><br>
                            <select name="pattern_cont">
                                <option value="none"selected="selected">none</option>
                                <?php for ($i = 1; $i <= 36; $i++) { 
                                        ($this->config->get('pattern_cont')== $i) ? $currentpat = 'selected' : $currentpat = '';
                                    ?>
                                    <option value="<?php echo $i; ?>" <?php echo $currentpat; ?>><?php echo $i; ?></option>';
                                    <?php } ?>
                            </select>
                            <span class="customhelp"><?php echo $entry_pattern_overlay_help; ?></span>
                        </td>
                    </tr>             
                    <!--** Upload Pattern **-->
                    <tr>
                        <td><?php echo $entry_custom_pattern; ?> </td>
                        <td>
                            <input type="hidden" name="custom_pattern_cont" value="<?php echo $custom_pattern_cont; ?>" id="custom_pattern_cont" />
                            <img src="<?php echo $pattern_preview_cont; ?>" id="pattern_preview_cont" />
                            <br /><a onclick="image_upload('custom_pattern_cont', 'pattern_preview_cont');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pattern_preview_cont').attr('src', '<?php echo $no_image; ?>'); $('#custom_pattern_cont').attr('value', '');"><?php echo $text_clear; ?></a>
                        </td>
                    </tr>                 
                    <!--** Upload Background Image **-->
                    <tr>   
                        <td>
                            <?php echo $entry_custom_image; ?><br>
                            <span class="customhelp"><?php echo $entry_custom_image_help; ?></span>
                        </td>
                        <td>
                            <input type="hidden" name="custom_image_cont" value="<?php echo $custom_image_cont; ?>" id="custom_image_cont" />
                            <img src="<?php echo $image_preview_cont; ?>" alt="" id="image_preview_cont" />
                            <br /><a onclick="image_upload('custom_image_cont', 'image_preview_cont');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#image_preview_cont').attr('src', '<?php echo $no_image; ?>'); $('#custom_image_cont').attr('value', '');"><?php echo $text_clear; ?></a>
                        </td>
                    </tr>                     
                    <!--** Container background color **-->
                    <tr>
                        <td><?php echo $entry_background_color_cont; ?></td>
                        <td><input type="text" name="background_color_cont" value="<?php echo $background_color_cont; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_cont_help; ?></span></td>
                    </tr>         
                
                </table>
				
			</div>
        

            
<!--*******************************************************************************************
***********************************************************************************************


 Colors
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
<div id="colors_settings" class="divtab">
	
    <ul class="tabs-head tabs">
        <li><a href="#top"><?php echo $entry_header_tit; ?></a></li>      
        <li><a href="#blocks"><?php echo $entry_blocks; ?></a></li>
        <li><a href="#search"><?php echo $entry_search_tit; ?></a></li>
        <li><a href="#cart"><?php echo $entry_cart_tit; ?></a></li>
        <li><a href="#menuu"><?php echo $entry_menu_tit; ?></a></li>  
        <li><a href="#category"><?php echo $entry_category_tit; ?></a></li>
        <li><a href="#box"><?php echo $entry_box_tit; ?></a></li>
        <li><a href="#product"><?php echo $entry_product_tit; ?></a></li>
        <li><a href="#carousel"><?php echo $entry_carousel_tit; ?></a></li>
        <li><a href="#newsletter"><?php echo $entry_newsletter_tit; ?></a></li>
        <li><a href="#featuredcategory"><?php echo $entry_featuredcategory_tit; ?></a></li>
        <li><a href="#general"><?php echo $entry_general_tit; ?></a></li>
        <li><a href="#footerr"><?php echo $entry_entry_footer; ?></a></li>
    </ul>
    
    <div class="tab_container">
    <!--///////////////////////////////////////////////////////////////////////////////// top-->
        <div id="top" class="tab_content">
        	<table class="form">
                <!--** top bar bg **-->
                <tr>
                    <td><?php echo $entry_thickbar_color; ?></td>
                    <td><input type="text" name="thickbar_color" value="<?php echo $thickbar_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** top bar text color **-->
                <tr>
                    <td><?php echo $entry_welcome_text_color; ?></td>
                    <td><input type="text" name="welcome_text_color" value="<?php echo $welcome_text_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** top bar links color **-->
                <tr>
                    <td><?php echo $entry_thickbar_links_color; ?></td>
                    <td><input type="text" name="thickbar_links_color" value="<?php echo $thickbar_links_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--**  **-->
                <tr>
                    <td><?php echo $entry_drop_bg; ?></td>
                    <td><input type="text" name="drop_bg" value="<?php echo $drop_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// blocks-->
        <div id="blocks" class=" tab_content">
            <table class="form">
                <!--** block title color **-->
                <tr>
                    <td><?php echo $entry_block_bg_color; ?></td>
                    <td><input type="text" name="block_bg_color" value="<?php echo $block_bg_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            	<!--** block title color **-->
                <tr>
                    <td><?php echo $entry_block_title_color; ?></td>
                    <td><input type="text" name="block_title_color" value="<?php echo $block_title_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** block desc color **-->
                <tr>
                    <td><?php echo $entry_block_desc_color; ?></td>
                    <td><input type="text" name="block_desc_color" value="<?php echo $block_desc_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// search-->
        <div id="search" class=" tab_content">
            <table class="form">
                <!--** search bg **-->
                <tr>
                    <td><?php echo $entry_search_bg; ?></td>
                    <td><input type="text" name="search_bg" value="<?php echo $search_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>                                 
                <!--** search border **-->
                <tr>
                    <td><?php echo $entry_search_border; ?></td>
                    <td><input type="text" name="search_border" value="<?php echo $search_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** categories select bg **-->
                <tr>
                    <td><?php echo $entry_categories_select_bg; ?></td>
                    <td><input type="text" name="categories_select_bg" value="<?php echo $categories_select_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** categories select color **-->
                <tr>
                    <td><?php echo $entry_categories_select_color; ?></td>
                    <td><input type="text" name="categories_select_color" value="<?php echo $categories_select_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** btn search bg **-->
                <tr>
                    <td><?php echo $entry_btn_search_bg; ?></td>
                    <td><input type="text" name="btn_search_bg" value="<?php echo $btn_search_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** btn search color **-->
                <tr>
                    <td><?php echo $entry_btn_search_color; ?></td>
                    <td><input type="text" name="btn_search_color" value="<?php echo $btn_search_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// cart-->
        <div id="cart" class=" tab_content">
            <table class="form">
            	<!--** cart title **-->
                <tr>
                    <td><?php echo $entry_cart_title_color; ?></td>
                    <td><input type="text" name="cart_title_color" value="<?php echo $cart_title_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** cart desc **-->
                <tr>
                    <td><?php echo $entry_cart_desc_color; ?></td>
                    <td><input type="text" name="cart_desc_color" value="<?php echo $cart_desc_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// menu-->
        <div id="menuu" class=" tab_content">
            <table class="form">
            	<!--** Menu background color **-->
                <tr>
                    <td><?php echo $entry_menu_background; ?></td>
                    <td><input type="text" name="menu_background" value="<?php echo $menu_background; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>                    
                <!--** Top menu links color **-->
                <tr>
                    <td><?php echo $entry_menu_color; ?></td>
                    <td><input type="text" name="menu_color" value="<?php echo $menu_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                <!--** Menu Links background on hover **-->
                <tr>
                    <td><?php echo $entry_menu_color_hover; ?></td>
                    <td><input type="text" name="menu_color_hover" value="<?php echo $menu_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                <!--** Dropdown menu bg **-->
                <tr>
                    <td><?php echo $entry_drop_menu_bg; ?></td>
                    <td><input type="text" name="drop_menu_bg" value="<?php echo $drop_menu_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>         
                <!--** Dropdown menu border **-->
                <tr>
                    <td><?php echo $entry_drop_menu_border; ?></td>
                    <td><input type="text" name="drop_menu_border" value="<?php echo $drop_menu_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** sub menu links **-->
                <tr>
                    <td><?php echo $entry_smenu_color; ?></td>
                    <td><input type="text" name="smenu_color" value="<?php echo $smenu_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** sub menu links on hover **-->
                <tr>
                    <td><?php echo $entry_smenuh_color; ?></td>
                    <td><input type="text" name="smenuh_color" value="<?php echo $smenuh_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
          <!--///////////////////////////////////////////////////////////////////////////////// pav mega menu-->
                <tr><td><h3>PAV Mega Menu</h3></td></tr>
                <tr>
                    <td><?php echo $entry_pav_menu_bg; ?></td>
                    <td><input type="text" name="pav_menu_bg" value="<?php echo $pav_menu_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_links_color; ?></td>
                    <td><input type="text" name="pav_links_color" value="<?php echo $pav_links_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_links_color_hover; ?></td>
                    <td><input type="text" name="pav_links_color_hover" value="<?php echo $pav_links_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_desc_color; ?></td>
                    <td><input type="text" name="pav_desc_color" value="<?php echo $pav_desc_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_arrow_color; ?></td>
                    <td><input type="text" name="pav_arrow_color" value="<?php echo $pav_arrow_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_submenu_bg; ?></td>
                    <td><input type="text" name="pav_submenu_bg" value="<?php echo $pav_submenu_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_sub_title_color; ?></td>
                    <td><input type="text" name="pav_sub_title_color" value="<?php echo $pav_sub_title_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_sub_links_color; ?></td>
                    <td><input type="text" name="pav_sub_links_color" value="<?php echo $pav_sub_links_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_sub_links_color_hover; ?></td>
                    <td><input type="text" name="pav_sub_links_color_hover" value="<?php echo $pav_sub_links_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_sub_desc_color; ?></td>
                    <td><input type="text" name="pav_sub_desc_color" value="<?php echo $pav_sub_desc_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_pav_sub_separate_color; ?></td>
                    <td><input type="text" name="pav_sub_separate_color" value="<?php echo $pav_sub_separate_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    
    
    <!--///////////////////////////////////////////////////////////////////////////////// category-->
        <div id="category" class="tab_content">
            <table class="form">
            	<!--** category heading bg **--> 
                <tr>
                    <td><?php echo $entry_category_heading_bg; ?></td>
                    <td><input type="text" name="category_heading_bg" value="<?php echo $category_heading_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>        
                <!--** category heading border **--> 
                <tr>
                    <td><?php echo $entry_category_heading_border; ?></td>
                    <td><input type="text" name="category_heading_border" value="<?php echo $category_heading_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** category heading color **--> 
                <tr>
                    <td><?php echo $entry_category_heading_color; ?></td>
                    <td><input type="text" name="category_heading_color" value="<?php echo $category_heading_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
                <!--** category box bg **--> 
                <tr>
                    <td><?php echo $entry_category_box_bg; ?></td>
                    <td><input type="text" name="category_box_bg" value="<?php echo $category_box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
                <!--** category box border **--> 
                <tr>
                    <td><?php echo $entry_category_box_border; ?></td>
                    <td><input type="text" name="category_box_border" value="<?php echo $category_box_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>                
                <!--** category links color **--> 
                <tr>
                    <td><?php echo $entry_category_link_color; ?></td>
                    <td><input type="text" name="category_link_color" value="<?php echo $category_link_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>                
                <!--** category links color on hover **--> 
                <tr>
                    <td><?php echo $entry_category_link_color_hover; ?></td>
                    <td><input type="text" name="category_link_color_hover" value="<?php echo $category_link_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
                <!--** category lines separated color **--> 
                <tr>
                    <td><?php echo $entry_category_lines_color; ?></td>
                    <td><input type="text" name="category_lines_color" value="<?php echo $category_lines_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>   
                
                <tr><td><h3>Amazon Category</h3></td><td></td></tr>
                <tr>
                    <td><?php echo $entry_amaz_head_bg; ?></td>
                    <td><input type="text" name="amaz_head_bg" value="<?php echo $amaz_head_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_head_arrow_color; ?></td>
                    <td><input type="text" name="amaz_head_arrow_color" value="<?php echo $amaz_head_arrow_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_head_color; ?></td>
                    <td><input type="text" name="amaz_head_color" value="<?php echo $amaz_head_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_menu_bg; ?></td>
                    <td><input type="text" name="amaz_menu_bg" value="<?php echo $amaz_menu_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_menu_border; ?></td>
                    <td><input type="text" name="amaz_menu_border" value="<?php echo $amaz_menu_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_link_color; ?></td>
                    <td><input type="text" name="amaz_link_color" value="<?php echo $amaz_link_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_link_color_hover; ?></td>
                    <td><input type="text" name="amaz_link_color_hover" value="<?php echo $amaz_link_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_arrow_color; ?></td>
                    <td><input type="text" name="amaz_arrow_color" value="<?php echo $amaz_arrow_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_desc_color; ?></td>
                    <td><input type="text" name="amaz_desc_color" value="<?php echo $amaz_desc_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <tr>
                    <td><?php echo $entry_amaz_sub_title_color; ?></td>
                    <td><input type="text" name="amaz_sub_title_color" value="<?php echo $amaz_sub_title_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// box-->
        <div id="box" class=" tab_content">
            <table class="form">
            	<!--** box heading bg **--> 
                <tr>
                    <td><?php echo $entry_heading_bg; ?></td>
                    <td><input type="text" name="heading_bg" value="<?php echo $heading_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>               
                <!--** box heading border **--> 
                <tr>
                    <td><?php echo $entry_heading_border_arrow; ?></td>
                    <td><input type="text" name="heading_border_arrow" value="<?php echo $heading_border_arrow; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>               
                <!--** box heading color **--> 
                <tr>
                    <td><?php echo $entry_heading_color; ?></td>
                    <td><input type="text" name="heading_color" value="<?php echo $heading_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** box bg **--> 
                <tr>
                    <td><?php echo $entry_box_bg; ?></td>
                    <td><input type="text" name="box_bg" value="<?php echo $box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** box border **--> 
                <tr>
                    <td><?php echo $entry_box_border; ?></td>
                    <td><input type="text" name="box_border" value="<?php echo $box_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>                
                
                <tr><td><h3>For Latest Products By Category Section</h3></td><td></td></tr>
                
                <!--** tabs heading bg **--> 
                <tr>
                    <td><?php echo $entry_heading_tabs_bg; ?></td>
                    <td><input type="text" name="heading_tabs_bg" value="<?php echo $heading_tabs_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                <!--** tabs heading border **--> 
                <tr>
                    <td><?php echo $entry_heading_tabs_border; ?></td>
                    <td><input type="text" name="heading_tabs_border" value="<?php echo $heading_tabs_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
                <!--** prodbcat title **--> 
                <tr>
                    <td><?php echo $entry_prodbcat_title; ?></td>
                    <td><input type="text" name="prodbcat_title" value="<?php echo $prodbcat_title; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
 				<!--** prodbcat box bg **--> 
                <tr>
                    <td><?php echo $entry_prodbcat_box_bg; ?></td>
                    <td><input type="text" name="prodbcat_box_bg" value="<?php echo $prodbcat_box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** prodbcat box border **--> 
                <tr>
                    <td><?php echo $entry_prodbcat_box_border; ?></td>
                    <td><input type="text" name="prodbcat_box_border" value="<?php echo $prodbcat_box_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** prodbcat tab bg **--> 
                <tr>
                    <td><?php echo $entry_prodbcat_tab_bg; ?></td>
                    <td><input type="text" name="prodbcat_tab_bg" value="<?php echo $prodbcat_tab_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** prodbcat tab bg select **--> 
                <tr>
                    <td><?php echo $entry_prodbcat_tab_bg_select; ?></td>
                    <td><input type="text" name="prodbcat_tab_bg_select" value="<?php echo $prodbcat_tab_bg_select; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** prodbcat tab link **--> 
                <tr>
                    <td><?php echo $entry_prodbcat_tab_link; ?></td>
                    <td><input type="text" name="prodbcat_tab_link" value="<?php echo $prodbcat_tab_link; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>    
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// product-->
        <div id="product" class=" tab_content">
            <table class="form">
            	<!--** product border **--> 
                <tr>
                    <td><?php echo $entry_product_box_bg; ?></td>
                    <td><input type="text" name="product_box_bg" value="<?php echo $product_box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                <!--** product cart bg **--> 
                <tr>
                    <td><?php echo $entry_product_cart_bg; ?></td>
                    <td><input type="text" name="product_cart_bg" value="<?php echo $product_cart_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                <!--** product cart border **--> 
                <tr>
                    <td><?php echo $entry_product_cart_border; ?></td>
                    <td><input type="text" name="product_cart_border" value="<?php echo $product_cart_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** product cart color **--> 
                <tr>
                    <td><?php echo $entry_product_cart_color; ?></td>
                    <td><input type="text" name="product_cart_color" value="<?php echo $product_cart_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
            	<!--** sale bg **--> 
                <tr>
                    <td><?php echo $entry_sale_bg; ?></td>
                    <td><input type="text" name="sale_bg" value="<?php echo $sale_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr> 
                <!--** new bg **--> 
                <tr>
                    <td><?php echo $entry_new_bg; ?></td>
                    <td><input type="text" name="new_bg" value="<?php echo $new_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>               
                <!--** price color **--> 
                <tr>
                    <td><?php echo $entry_price_color; ?></td>
                    <td><input type="text" name="price_color" value="<?php echo $price_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>                
                <!--** old price color **--> 
                <tr>
                    <td><?php echo $entry_other_oldprice_color; ?></td>
                    <td><input type="text" name="other_oldprice_color" value="<?php echo $other_oldprice_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>                
                <!--** product name color **--> 
                <tr>
                    <td><?php echo $entry_product_name_color; ?></td>
                    <td><input type="text" name="product_name_color" value="<?php echo $product_name_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// carousel-->
        <div id="carousel" class=" tab_content">
            <table class="form">
            	<!--** carousel bg **--> 
                <tr>
                    <td><?php echo $entry_carousel_box_bg; ?></td>
                    <td><input type="text" name="carousel_box_bg" value="<?php echo $carousel_box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                </tr> 
                <!--** carousel border **--> 
                <tr>
                    <td><?php echo $entry_carousel_box_border; ?></td>
                    <td><input type="text" name="carousel_box_border" value="<?php echo $carousel_box_border; ?>" size="6" class="color {required:false,hash:true}"  />
                </tr>             
            </table>
        </div>
    <!--///////////////////////////////////////////////////////////////////////////////// newsletter-->
        <div id="newsletter" class=" tab_content">
            <table class="form">
            	<!--** Titles color **--> 
                <tr>
                    <td><?php echo $entry_newsletter_bg_box; ?></td>
                    <td><input type="text" name="newsletter_bg_box" value="<?php echo $newsletter_bg_box; ?>" size="6" class="color {required:false,hash:true}"  />
                </tr>             
            </table>
        </div>
    <!--///////////////////////////////////////////////////////////////////////////////// Featured Category-->
        <div id="featuredcategory" class=" tab_content">
            <table class="form">
            	<!--** featured category bg **--> 
                <tr>
                    <td><?php echo $entry_featuredcategory_box_bg; ?></td>
                    <td><input type="text" name="featuredcategory_box_bg" value="<?php echo $featuredcategory_box_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                </tr> 
                <!--** featured category title **--> 
                <tr>
                    <td><?php echo $entry_featuredcategory_box_title; ?></td>
                    <td><input type="text" name="featuredcategory_box_title" value="<?php echo $featuredcategory_box_title; ?>" size="6" class="color {required:false,hash:true}"  />
                </tr> 
                <!--** featured category desc **--> 
                <tr>
                    <td><?php echo $entry_featuredcategory_box_desc; ?></td>
                    <td><input type="text" name="featuredcategory_box_desc" value="<?php echo $featuredcategory_box_desc; ?>" size="6" class="color {required:false,hash:true}"  />
                </tr> 
                <!--** featured category link **--> 
                <tr>
                    <td><?php echo $entry_featuredcategory_box_link; ?></td>
                    <td><input type="text" name="featuredcategory_box_link" value="<?php echo $featuredcategory_box_link; ?>" size="6" class="color {required:false,hash:true}"  />
                </tr>             
            </table>
        </div>
    <!--///////////////////////////////////////////////////////////////////////////////// general-->
        <div id="general" class=" tab_content">
            <table class="form">
            	<!--** Titles color **--> 
                <tr>
                    <td><?php echo $entry_title_color; ?></td>
                    <td><input type="text" name="title_color" value="<?php echo $title_color; ?>" size="6" class="color {required:false,hash:true}"  />
                        <span class="customhelp"><?php echo $entry_title_color_help; ?></span></td>
                </tr>               
                <!--** Body text color **-->
                <tr>
                    <td><?php echo $entry_body_color; ?></td>
                    <td><input type="text" name="bodytext_color" value="<?php echo $bodytext_color; ?>" size="6" class="color {required:false,hash:true}"  />
                        <span class="customhelp"><?php echo $entry_body_color_help; ?></span></td>
                </tr>
                <!--** Other links color **-->
                <tr>
                    <td><?php echo $entry_links_color; ?></td>
                    <td><input type="text" name="links_color" value="<?php echo $links_color; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                </tr>
                <!--** product details color **-->
                <tr>
                    <td><?php echo $entry_productinfo_color; ?></td>
                    <td><input type="text" name="productinfo_color" value="<?php echo $productinfo_color; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                </tr>
                <!--** Breadcrumb bg **-->
                <tr>
                    <td><?php echo $entry_breadcrumb_bg; ?></td>
                    <td><input type="text" name="breadcrumb_bg" value="<?php echo $breadcrumb_bg; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                </tr>
                
            </table>
        </div><!--/content-->
    <!--///////////////////////////////////////////////////////////////////////////////// footer-->
        <div id="footerr" class=" tab_content">
            <table class="form">
                <!--** payment bg **-->
                <tr>
                    <td><?php echo $entry_payment_bg; ?></td>
                    <td><input type="text" name="payment_bg" value="<?php echo $payment_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
            	<!--** Footer bg **-->
                <tr>
                    <td><?php echo $entry_footer_bg; ?></td>
                    <td><input type="text" name="footer_bg" value="<?php echo $footer_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
                <!--** Footer bottom bg **-->
                <tr>
                    <td><?php echo $entry_footer_bottom_bg; ?></td>
                    <td><input type="text" name="footer_bottom_bg" value="<?php echo $footer_bottom_bg; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>  
                <!--** Footer Headers color **-->
                <tr>
                    <td><?php echo $entry_footerheaders_color; ?></td>
                    <td><input type="text" name="footerheaders_color" value="<?php echo $footerheaders_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** Footer Headers border **-->
                <tr>
                    <td><?php echo $entry_footerheaderswid_border; ?></td>
                    <td><input type="text" name="footerheaderswid_border" value="<?php echo $footerheaderswid_border; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** Footer info text color **-->
                <tr>
                    <td><?php echo $entry_footer_info_color; ?></td>
                    <td><input type="text" name="footer_info_color" value="<?php echo $footer_info_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** Footer links color **-->
                <tr>
                    <td><?php echo $entry_footerlinks_color; ?></td>
                    <td><input type="text" name="footerlinks_color" value="<?php echo $footerlinks_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** Social icons color **-->
                <tr>
                    <td><?php echo $entry_social_icons_color; ?></td>
                    <td><input type="text" name="social_icons_color" value="<?php echo $social_icons_color; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
                <!--** Social icons color on hover **-->
                <tr>
                    <td><?php echo $entry_social_icons_color_hover; ?></td>
                    <td><input type="text" name="social_icons_color_hover" value="<?php echo $social_icons_color_hover; ?>" size="6" class="color {required:false,hash:true}"  />
                    </td>
                </tr>
            </table>
        </div><!--/content-->
        
 	</div><!--tab_container-->

</div><!--/colors_settings-->
    
   
<!--*******************************************************************************************
***********************************************************************************************


 Fonts
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
            <div id="fonts_settings" class="divtab">

            <ul class="tabs-head tabs">
                <li><a href="#titlefont"><?php echo $entry_titles_sub; ?></a></li>
                <li><a href="#bodyfont"><?php echo $entry_body_sub; ?></a></li>
                <li><a href="#buttonfont"><?php echo $entry_buttons_sub; ?></a></li>
                <li><a href="#categoryfont"><?php echo $entry_category_sub; ?></a></li>
                <li><a href="#menufont"><?php echo $entry_menu_sub; ?></a></li>
                <li><a href="#productfont"><?php echo $entry_product_sub; ?></a></li>
                <li><a href="#pricefont"><?php echo $entry_price_sub; ?></a></li>
                <li><a href="#boxheadingfont"><?php echo $entry_boxheading_sub; ?></a></li>
            </ul>

			<div class="tab_container">
                <!--///////////////////////////////////////////////////////////////////////////////// title-->
                    <div id="titlefont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="title_font" value="<?php echo $title_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="title_font_family" value="<?php echo $title_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
                <!--///////////////////////////////////////////////////////////////////////////////// body-->
                    <div id="bodyfont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="body_font" value="<?php echo $body_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="body_font_family" value="<?php echo $body_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font size **-->
                            <tr>
                                <td><?php echo $entry_title_font_size; ?></td>
                                <td>
                                    <input type="text" name="body_font_size" value="<?php echo $body_font_size; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_size_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
                <!--///////////////////////////////////////////////////////////////////////////////// buttons-->
                    <div id="buttonfont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="button_font" value="<?php echo $button_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="button_font_family" value="<?php echo $button_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font size **-->
                            <tr>
                                <td><?php echo $entry_title_font_size; ?></td>
                                <td>
                                    <input type="text" name="button_font_size" value="<?php echo $button_font_size; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_size_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
               <!--///////////////////////////////////////////////////////////////////////////////// category-->
                    <div id="categoryfont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="category_font" value="<?php echo $category_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="category_font_family" value="<?php echo $category_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font size **-->
                            <tr>
                                <td><?php echo $entry_title_font_size; ?></td>
                                <td>
                                    <input type="text" name="category_font_size" value="<?php echo $category_font_size; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_size_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
               <!--///////////////////////////////////////////////////////////////////////////////// menu-->
                    <div id="menufont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="menu_font" value="<?php echo $menu_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="menu_font_family" value="<?php echo $menu_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
                <!--///////////////////////////////////////////////////////////////////////////////// product-->
                    <div id="productfont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="product_font" value="<?php echo $product_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="product_font_family" value="<?php echo $product_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font size **-->
                            <tr>
                                <td><?php echo $entry_title_font_size; ?></td>
                                <td>
                                    <input type="text" name="product_font_size" value="<?php echo $product_font_size; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_size_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
                <!--///////////////////////////////////////////////////////////////////////////////// price-->
                    <div id="pricefont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="price_font" value="<?php echo $price_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="price_font_family" value="<?php echo $price_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font size **-->
                            <tr>
                                <td><?php echo $entry_title_font_size; ?></td>
                                <td>
                                    <input type="text" name="price_font_size" value="<?php echo $price_font_size; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_size_help; ?></span>
                                </td>
                            </tr>
                        </table>
					</div>
               <!--///////////////////////////////////////////////////////////////////////////////// boxheading-->
                    <div id="boxheadingfont" class=" tab_content">
						<table class="form">
                            <!--** Title font on link **-->
                            <tr>
                                <td><?php echo $entry_title_font; ?></td>
                                <td>
                                    <input type="text" name="boxheading_font" value="<?php echo $boxheading_font; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font on css **-->
                            <tr>
                                <td><?php echo $entry_title_font_family; ?></td>
                                <td>
                                    <input type="text" name="boxheading_font_family" value="<?php echo $boxheading_font_family; ?>" size="6"  />
                                    <span class="customhelp"><?php echo $entry_title_font_family_help; ?></span>
                                </td>
                            </tr>
                            <!--** Title font size **-->
                            <tr>
                                <td><?php echo $entry_title_font_size; ?></td>
                                <td>
                                    <input type="text" name="boxheading_font_size" value="<?php echo $boxheading_font_size; ?>" size="6"  />
                                </td>
                            </tr>
                        </table>
					</div>
            </div>

            </div><!--/fonts_settings-->
            
            
            
            
            
<!--*******************************************************************************************
***********************************************************************************************


 Buttons 
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
            <div id="buttons_settings" class="divtab">

                <table class="form">
                	<!--** Add to cart **-->
                    <tr>
                        <td><?php echo $entry_details_addtocart; ?></td>
                        <td><input type="text" name="details_addtocart" value="<?php echo $details_addtocart; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                    </tr>
                    <!--** Product Details Add to cart : hover **-->
                    <tr>
                        <td><?php echo $entry_details_addtocart_hover; ?></td>
                        <td><input type="text" name="details_addtocart_hover" value="<?php echo $details_addtocart_hover; ?>" size="6" class="color {required:false,hash:true}"  /></td>
                    </tr>
                    <!--** Add to cart - color **-->
                    <tr>
                        <td><?php echo $entry_details_button_color; ?></td>
                        <td><input type="text" name="details_button_color" value="<?php echo $details_button_color; ?>" size="6" class="color {required:false,hash:true}"  />
                        </td>
                    </tr>
                    <!--** All other Add to cart **-->
                    <tr>
                        <td><?php echo $entry_all_addtocart; ?></td>
                        <td><input type="text" name="all_addtocart" value="<?php echo $all_addtocart; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_all_addtocart_button_help; ?></span></td>
                    </tr>          
                    <!--** All other Add to cart : hover **-->
                    <tr>
                        <td><?php echo $entry_all_addtocart_hover; ?></td>
                        <td><input type="text" name="all_addtocart_hover" value="<?php echo $all_addtocart_hover; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_all_addtocart_button_hover_help; ?></span></td>
                    </tr>                  
                    <!--** All other buttons color **-->
                    <tr>
                        <td><?php echo $entry_all_buttons_color; ?></td>
                        <td><input type="text" name="all_buttons_color" value="<?php echo $all_buttons_color; ?>" size="6" class="color {required:false,hash:true}"  /><span class="customhelp"><?php echo $entry_all_buttons_color_help; ?></span></td>
                    </tr>
                </table>
            
            </div><!--/buttons_settings-->
            
            
            
			
            
<!--*******************************************************************************************
***********************************************************************************************


  Custom Settings 
 
 
 **********************************************************************************************
 *******************************************************************************************-->
 
			<div id="footer2_settings" class="divtab">
			
            
            	<ul class="tabs-head tabs">
                    <li><a href="#firstblock"><?php echo $entry_blocks; ?></a></li>
                    <li><a href="#midblocks"><?php echo $entry_mblocks; ?></a></li>
                    <li><a href="#customWidget">Custom Widget</a></li>
                    <li><a href="#contactWidget"><?php echo $entry_contact; ?></a></li>
                    <li><a href="#socialWidgets"><?php echo $entry_entry_widgets; ?></a></li>
                    <li><a href="#socialIcons"><?php echo $entry_entry_socialIcons; ?></a></li>
                    <li><a href="#payment"><?php echo $entry_payment_text; ?></a></li>
                    <li><a href="#others"><?php echo $entry_others; ?></a></li>
                    <li><a href="#contactPage"><?php echo $entry_contact_page; ?></a></li>
                    <li><a href="#customcss"><?php echo $entry_custom_css; ?></a></li>
                </ul>
            
            	<div class="tab_container">
        
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="firstblock" class="tab_content">
					<table class="form">
					<!-- ==================================== First block -->
					<tr><td><h3><?php echo $entry_firstblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="firstblock_img" value="<?php echo $firstblock_img; ?>" id="firstblock_img" />
					<img src="<?php echo $firstblock_preview; ?>" alt="" id="firstblock_preview" />
					<br /><a onclick="image_upload('firstblock_img', 'firstblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#firstblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#firstblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_firstblock_title; ?></td>
					<td><input type="text" name="firstblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'firstblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_firstblock_desc; ?></td>
					<td><input type="text" name="firstblock_desc_<?php echo $language['language_id']; ?>" value="<?php echo ${'firstblock_desc_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					<tr>
					<td><?php echo $entry_block_link; ?></td>
					<td><input type="text" name="firstblock_link" value="<?php echo $firstblock_link; ?>" /></td>
					</tr>
					<!-- ==================================== Second block -->
					<tr><td><h3><?php echo $entry_secondblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="secondblock_img" value="<?php echo $secondblock_img; ?>" id="secondblock_img" />
					<img src="<?php echo $secondblock_preview; ?>" alt="" id="secondblock_preview" />
					<br /><a onclick="image_upload('secondblock_img', 'secondblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#secondblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#secondblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_secondblock_title; ?></td>
					<td><input type="text" name="secondblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'secondblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_secondblock_desc; ?></td>
					<td><input type="text" name="secondblock_desc_<?php echo $language['language_id']; ?>" value="<?php echo ${'secondblock_desc_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					
					<tr>
					<td><?php echo $entry_block_link; ?></td>
					<td><input type="text" name="secondblock_link" value="<?php echo $secondblock_link; ?>" /></td>
					</tr>
					<!-- ==================================== Third block -->
					<tr><td><h3><?php echo $entry_thirdblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="thirdblock_img" value="<?php echo $thirdblock_img; ?>" id="thirdblock_img" />
					<img src="<?php echo $thirdblock_preview; ?>" alt="" id="thirdblock_preview" />
					<br /><a onclick="image_upload('thirdblock_img', 'thirdblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#thirdblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#thirdblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_thirdblock_title; ?></td>
					<td><input type="text" name="thirdblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'thirdblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_thirdblock_desc; ?></td>
					<td><input type="text" name="thirdblock_desc_<?php echo $language['language_id']; ?>" value="<?php echo ${'thirdblock_desc_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					
					<tr>
					<td><?php echo $entry_block_link; ?></td>
					<td><input type="text" name="thirdblock_link" value="<?php echo $thirdblock_link; ?>" /></td>
					</tr>
					<!-- ==================================== Fourth block -->
					<tr><td><h3><?php echo $entry_fourthblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="fourthblock_img" value="<?php echo $fourthblock_img; ?>" id="fourthblock_img" />
					<img src="<?php echo $fourthblock_preview; ?>" alt="" id="fourthblock_preview" />
					<br /><a onclick="image_upload('fourthblock_img', 'fourthblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#fourthblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#fourthblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_fourthblock_title; ?></td>
					<td><input type="text" name="fourthblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'fourthblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_fourthblock_desc; ?></td>
					<td><input type="text" name="fourthblock_desc_<?php echo $language['language_id']; ?>" value="<?php echo ${'fourthblock_desc_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					
					<tr>
					<td><?php echo $entry_block_link; ?></td>
					<td><input type="text" name="fourthblock_link" value="<?php echo $fourthblock_link; ?>" /></td>
					</tr>
					<!-- ==================================== Fifth block -->
					<tr><td><h3><?php echo $entry_fifthblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="fifthblock_img" value="<?php echo $fifthblock_img; ?>" id="fifthblock_img" />
					<img src="<?php echo $fifthblock_preview; ?>" alt="" id="fifthblock_preview" />
					<br /><a onclick="image_upload('fifthblock_img', 'fifthblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#fifthblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#fifthblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_fifthblock_title; ?></td>
					<td><input type="text" name="fifthblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'fifthblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_fifthblock_desc; ?></td>
					<td><input type="text" name="fifthblock_desc_<?php echo $language['language_id']; ?>" value="<?php echo ${'fifthblock_desc_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					<tr>
					<td><?php echo $entry_block_link; ?></td>
					<td><input type="text" name="fifthblock_link" value="<?php echo $fifthblock_link; ?>" /></td>
					</tr>
					</table>
					</div>
					<!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="midblocks" class="tab_content">
					<table class="form">
					<!-- ==================================== First block -->
					<tr><td><h3><?php echo $entry_firstblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="firstmblock_img" value="<?php echo $firstmblock_img; ?>" id="firstmblock_img" />
					<img src="<?php echo $firstmblock_preview; ?>" alt="" id="firstmblock_preview" />
					<br /><a onclick="image_upload('firstmblock_img', 'firstmblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#firstmblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#firstmblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_firstblock_title; ?></td>
					<td><input type="text" name="firstmblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'firstmblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_firstblock_desc; ?></td>
					<td><textarea style="border-radius: 5px 5px 5px 5px; border: 1px solid #ccc" cols="50" rows="6" name="firstmblock_desc_<?php echo $language['language_id']; ?>"><?php echo ${'firstmblock_desc_' . $language['language_id']}; ?></textarea>
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					
					<!-- ==================================== Second block -->
					<tr><td><h3><?php echo $entry_secondblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="secondmblock_img" value="<?php echo $secondmblock_img; ?>" id="secondmblock_img" />
					<img src="<?php echo $secondmblock_preview; ?>" alt="" id="secondmblock_preview" />
					<br /><a onclick="image_upload('secondmblock_img', 'secondmblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#secondmblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#secondmblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_secondblock_title; ?></td>
					<td><input type="text" name="secondmblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'secondmblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_secondblock_desc; ?></td>
					<td><textarea style="border-radius: 5px 5px 5px 5px; border: 1px solid #ccc" cols="50" rows="6" name="secondmblock_desc_<?php echo $language['language_id']; ?>"><?php echo ${'secondmblock_desc_' . $language['language_id']}; ?></textarea>
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					<!-- ==================================== Third block -->
					<tr><td><h3><?php echo $entry_thirdblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="thirdmblock_img" value="<?php echo $thirdmblock_img; ?>" id="thirdmblock_img" />
					<img src="<?php echo $thirdmblock_preview; ?>" alt="" id="thirdmblock_preview" />
					<br /><a onclick="image_upload('thirdmblock_img', 'thirdmblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#thirdmblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#thirdmblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_thirdblock_title; ?></td>
					<td><input type="text" name="thirdmblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'thirdmblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_thirdblock_desc; ?></td>
					<td><textarea style="border-radius: 5px 5px 5px 5px; border: 1px solid #ccc" cols="50" rows="6" name="thirdmblock_desc_<?php echo $language['language_id']; ?>"><?php echo ${'thirdmblock_desc_' . $language['language_id']}; ?></textarea>
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					
					<!-- ==================================== Fourth block -->
					<tr><td><h3><?php echo $entry_fourthblock; ?></h3></td></tr>
					<tr>
					<td>
					<?php echo $entry_custom_image; ?><br>
					</td>
					<td>
					<input type="hidden" name="fourthmblock_img" value="<?php echo $fourthmblock_img; ?>" id="fourthmblock_img" />
					<img src="<?php echo $fourthmblock_preview; ?>" alt="" id="fourthmblock_preview" />
					<br /><a onclick="image_upload('fourthmblock_img', 'fourthmblock_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#fourthmblock_preview').attr('src', '<?php echo $no_image; ?>'); $('#fourthmblock_img').attr('value', '');"><?php echo $text_clear; ?></a>
					</td>
					</tr>
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_fourthblock_title; ?></td>
					<td><input type="text" name="fourthmblock_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'fourthmblock_title_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<tr>
					<td><?php echo $entry_fourthblock_desc; ?></td>
					<td><textarea style="border-radius: 5px 5px 5px 5px; border: 1px solid #ccc" cols="50" rows="6" name="fourthmblock_desc_<?php echo $language['language_id']; ?>"><?php echo ${'fourthmblock_desc_' . $language['language_id']}; ?></textarea>
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					</table>
					</div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="customWidget" class="tab_content">
                        <table class="form">
                            <!--
                            <tr>
                                <td><?php echo $entry_custom_widget_title; ?></td>
                                <td><input type="text" name="custom_widget_title" value="<?php echo $custom_widget_title; ?>" /></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_custom_widget_desc; ?></td>
                                <td><textarea style="border: 1px solid #ccc; border-radius: 5px;" type="text" name="custom_widget_desc" cols="70" rows="30"><?php echo $custom_widget_desc; ?></textarea>
                            </tr>
                            -->
                            <?php foreach ($languages as $language) { ?>
							<tr>
							<td><?php echo $entry_custom_widget_title; ?></td>
							<td><input type="text" name="custom_widget_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'custom_widget_title_' . $language['language_id']}; ?>" />
							<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
							</td>
							</tr>
							<tr>
							<td><?php echo $entry_custom_widget_desc; ?></td>
							<td><textarea cols="70" rows="30" style="border: 1px solid #ccc; border-radius: 5px;" type="text" name="custom_widget_desc_<?php echo $language['language_id']; ?>"><?php echo ${'custom_widget_desc_' . $language['language_id']}; ?></textarea>
							<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
							</td>
							</tr>
							<?php } ?>
							
                         </table>
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="contactWidget" class="tab_content">
					<table class="form">
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_address; ?></td>
					<td><input type="text" name="address_<?php echo $language['language_id']; ?>" value="<?php echo ${'address_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					
					<?php foreach ($languages as $language) { ?>
					<tr>
					<td><?php echo $entry_address_second; ?></td>
					<td><input type="text" name="address_second_<?php echo $language['language_id']; ?>" value="<?php echo ${'address_second_' . $language['language_id']}; ?>" />
					<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
					</td>
					</tr>
					<?php } ?>
					<tr>
					<td><?php echo $entry_phone; ?></td>
					<td><input type="text" name="phone" value="<?php echo $phone; ?>" /></td>
					</tr>
					<tr>
					<td><?php echo $entry_phone_second; ?></td>
					<td><input type="text" name="phone_second" value="<?php echo $phone_second; ?>" /></td>
					</tr>
					<tr>
					<td><?php echo $entry_email; ?></td>
					<td><input type="text" name="email" value="<?php echo $email; ?>" /></td>
					</tr>
					<tr>
					<td><?php echo $entry_email_second; ?></td>
					<td><input type="text" name="email_second" value="<?php echo $email_second; ?>" /></td>
					</tr>
					<tr>
					<td><?php echo $entry_fax; ?></td>
					<td><input type="text" name="fax" value="<?php echo $fax; ?>" /></td>
					</tr>
					<tr>
					<td><?php echo $entry_time; ?></td>
					<td><input type="text" name="time" value="<?php echo $time; ?>" /></td>
					</tr>
					</table>
					</div>
					       
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="socialWidgets" class="tab_content">
                        <table class="form">
                        	<tr>
                                <td><?php echo $entry_facebook_id; ?></td>
                                <td><input type="text" name="facebook_id" value="<?php echo $facebook_id; ?>" /></td>
                            </tr>
                        </table>
                        <table class="form">
                            <tr>
                                <td><?php echo $entry_twitter_username; ?></td>
                                <td><input type="text" name="twitter_username" value="<?php echo $twitter_username; ?>" /></td>
                            </tr> 
                            <tr>
                                <td><?php echo $entry_twitter_id; ?></td>
                                <td><input type="text" name="twitter_id" value="<?php echo $twitter_id; ?>" /></td>
                            </tr> 
                        </table>
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="socialIcons" class="tab_content">
                        <table class="form">
                        	<tr>
                                <td><?php echo $entry_facebook_link; ?></td>
                                <td><input type="text" name="facebook_link" value="<?php echo $facebook_link; ?>" /></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_twitter_link; ?></td>
                                <td><input type="text" name="twitter_link" value="<?php echo $twitter_link; ?>" /></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_google_link; ?></td>
                                <td><input type="text" name="google_link" value="<?php echo $google_link; ?>" /></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_youtube_link; ?></td>
                                <td><input type="text" name="youtube_link" value="<?php echo $youtube_link; ?>" /></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_flickr_link; ?></td>
                                <td><input type="text" name="flickr_link" value="<?php echo $flickr_link; ?>" /></td>
                            </tr>
                             <tr>
                                <td><?php echo $entry_vimeo_link; ?></td>
                                <td><input type="text" name="vimeo_link" value="<?php echo $vimeo_link; ?>" /></td>
                            </tr>
                             <tr>
                                <td><?php echo $entry_linkedin_link; ?></td>
                                <td><input type="text" name="linkedin_link" value="<?php echo $linkedin_link; ?>" /></td>
                            </tr>
                             <tr>
                                <td><?php echo $entry_dribbble_link; ?></td>
                                <td><input type="text" name="dribbble_link" value="<?php echo $dribbble_link; ?>" /></td>
                            </tr>
                             <tr>
                                <td><?php echo $entry_pinterest_link; ?></td>
                                <td><input type="text" name="pinterest_link" value="<?php echo $pinterest_link; ?>" /></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_skype_link; ?></td>
                                <td><input type="text" name="skype_link" value="<?php echo $skype_link; ?>" /></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_rss_link; ?></td>
                                <td><input type="text" name="rss_link" value="<?php echo $rss_link; ?>" /></td>
                            </tr>
                        </table>
                    </div>
                    <!--/////////////////////////////////////////////////////////////////////////////////-->
                    <div id="payment" class="tab_content">
                    	<table class="form">
                        
                        	<!--============================================== pay 1 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay1_img" value="<?php echo $pay1_img; ?>" id="pay1_img" />
                                    <img src="<?php echo $pay1_preview; ?>" alt="" id="pay1_preview" />
                                    <br /><a onclick="image_upload('pay1_img', 'pay1_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay1_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay1_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay1_link" value="<?php echo $pay1_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay1_name" value="<?php echo $pay1_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 2 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay2_img" value="<?php echo $pay2_img; ?>" id="pay2_img" />
                                    <img src="<?php echo $pay2_preview; ?>" alt="" id="pay2_preview" />
                                    <br /><a onclick="image_upload('pay2_img', 'pay2_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay2_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay2_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay2_link" value="<?php echo $pay2_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay2_name" value="<?php echo $pay2_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 3 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay3_img" value="<?php echo $pay3_img; ?>" id="pay3_img" />
                                    <img src="<?php echo $pay3_preview; ?>" alt="" id="pay3_preview" />
                                    <br /><a onclick="image_upload('pay3_img', 'pay3_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay3_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay3_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay3_link" value="<?php echo $pay3_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay3_name" value="<?php echo $pay3_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 4 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay4_img" value="<?php echo $pay4_img; ?>" id="pay4_img" />
                                    <img src="<?php echo $pay4_preview; ?>" alt="" id="pay4_preview" />
                                    <br /><a onclick="image_upload('pay4_img', 'pay4_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay4_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay4_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay4_link" value="<?php echo $pay4_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay4_name" value="<?php echo $pay4_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 5 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay5_img" value="<?php echo $pay5_img; ?>" id="pay5_img" />
                                    <img src="<?php echo $pay5_preview; ?>" alt="" id="pay5_preview" />
                                    <br /><a onclick="image_upload('pay5_img', 'pay5_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay5_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay5_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay5_link" value="<?php echo $pay5_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay5_name" value="<?php echo $pay5_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 6 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay6_img" value="<?php echo $pay6_img; ?>" id="pay6_img" />
                                    <img src="<?php echo $pay6_preview; ?>" alt="" id="pay6_preview" />
                                    <br /><a onclick="image_upload('pay6_img', 'pay6_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay6_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay6_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay6_link" value="<?php echo $pay6_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay6_name" value="<?php echo $pay6_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 7 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay7_img" value="<?php echo $pay7_img; ?>" id="pay7_img" />
                                    <img src="<?php echo $pay7_preview; ?>" alt="" id="pay7_preview" />
                                    <br /><a onclick="image_upload('pay7_img', 'pay7_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay7_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay7_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay7_link" value="<?php echo $pay7_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay7_name" value="<?php echo $pay7_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 8 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay8_img" value="<?php echo $pay8_img; ?>" id="pay8_img" />
                                    <img src="<?php echo $pay8_preview; ?>" alt="" id="pay8_preview" />
                                    <br /><a onclick="image_upload('pay8_img', 'pay8_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay8_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay8_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay8_link" value="<?php echo $pay8_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay8_name" value="<?php echo $pay8_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 9 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay9_img" value="<?php echo $pay9_img; ?>" id="pay9_img" />
                                    <img src="<?php echo $pay9_preview; ?>" alt="" id="pay9_preview" />
                                    <br /><a onclick="image_upload('pay9_img', 'pay9_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay9_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay9_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay9_link" value="<?php echo $pay9_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay9_name" value="<?php echo $pay9_name; ?>" /></td>
                            </tr>
                            <!--============================================== pay 10 -->
                        	<tr>   
                                <td>
                                    <?php echo $entry_custom_image; ?><br>
                                </td>
                                <td>
                                    <input type="hidden" name="pay10_img" value="<?php echo $pay10_img; ?>" id="pay10_img" />
                                    <img src="<?php echo $pay10_preview; ?>" alt="" id="pay10_preview" />
                                    <br /><a onclick="image_upload('pay10_img', 'pay10_preview');"><?php echo $text_select; ?></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a onclick="$('#pay10_preview').attr('src', '<?php echo $no_image; ?>'); $('#pay10_img').attr('value', '');"><?php echo $text_clear; ?></a>
                                </td>
                                <td><?php echo $entry_pay_link; ?></td>
                                <td><input type="text" name="pay10_link" value="<?php echo $pay10_link; ?>" /></td>
                                <td><?php echo $entry_pay_name; ?></td>
                                <td><input type="text" name="pay10_name" value="<?php echo $pay10_name; ?>" /></td>
                            </tr>
                        </table> 
                        
                        
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="others" class="tab_content">
                        <table class="form">
                            <tr><td><h3>Amazon Slideshow</h3></td></tr>
                            <tr>
                                <td><?php echo $entry_amazon_slideshow_width; ?></td>
                                <td><input type="text" name="amazon_slideshow_width" value="<?php echo $amazon_slideshow_width; ?>" /></td>
                                <td><span class="customhelp"><?php echo $entry_slideshow_help; ?></span></td>
                                <td><span class="customhelp"><?php echo $entry_slideshow_values_help; ?></span></td>
                            </tr>
                            <tr>
                                <td><?php echo $entry_amazon_slideshow_height; ?></td>
                                <td><input type="text" name="amazon_slideshow_height" value="<?php echo $amazon_slideshow_height; ?>" /></td>
                                <td><span class="customhelp"><?php echo $entry_slideshow_height_values_help; ?></span></td>
                            </tr>
                        </table>
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// Conatct page-->
                    <div id="contactPage" class="tab_content">
                        <table class="form">
                        	<tr>
                                <td><?php echo $entry_cont_map; ?></td>
                                <td><input type="text" name="cont_map" value="<?php echo $cont_map; ?>" /></td>
                            </tr>
                            <?php foreach ($languages as $language) { ?>
                            <tr>
                                <td><?php echo $entry_cont_title; ?></td>
                                <td><input type="text" name="cont_title_<?php echo $language['language_id']; ?>" value="<?php echo ${'cont_title_' . $language['language_id']}; ?>" />
                                	<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
                                </td>
                            </tr>
                            <?php } ?>
                            <?php foreach ($languages as $language) { ?>
                            <tr>
                                <td><?php echo $entry_cont_desc; ?></td>
                                <td><textarea name="cont_desc_<?php echo $language['language_id']; ?>" cols="100" rows="10" style="border-radius: 5px 5px 5px 5px; border-color: #fff; padding: 20px;font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;"><?php echo ${'cont_desc_' . $language['language_id']}; ?></textarea>
                                	<img src="view/image/flags/<?php echo $language['image']; ?>" title="<?php echo $language['name']; ?>" style="vertical-align: top;" /><br />
                                </td>
                            </tr>
                            <?php } ?>
                        </table>
                    </div>
                    <!--///////////////////////////////////////////////////////////////////////////////// -->
                    <div id="customcss" class="tab_content">
                        <table class="form">
                        	<tr>
                            <td>
                            <textarea name="custom_css" cols="100" rows="50" style="border-radius: 5px 5px 5px 5px; border-color: #fff; padding: 20px;font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;"><?php echo $custom_css; ?></textarea>
                            </td>
                            </tr>
                        </table>
                    </div>
                </div><!--/tab_container-->

			</div><!--/footer_settings-->
			
 
			<div id="other_settings" class="divtab">

        
                        <table class="form">
							
							<tr><td><?php echo $entry_skin_selected; ?></td>
							<td>
							<select name="skin_selected">
							<?php
							$defaultSkin=$skin1=$skin2=$skin3=$skin4="";
							if($skin_selected =="default"){
							$defaultSkin="selected";
							}else if($skin_selected =="skin1"){
							$skin1="selected";
							}else if($skin_selected =="skin2"){
							$skin2="selected";
							}else if($skin_selected =="skin3"){
							$skin3="selected";
							}else if($skin_selected =="skin4"){
							$skin4="selected";
							}
							?>
							<option value="default" <?php echo $defaultSkin; ?> >Default</option>
							<option value="skin1" <?php echo $skin1; ?> >Skin1</option>
							<option value="skin2" <?php echo $skin2; ?> >Skin2</option>
							<option value="skin3" <?php echo $skin3; ?> >Skin3</option>
							<option value="skin4" <?php echo $skin4; ?> >Skin4</option>

							</select>
							</td>
							</tr>
							
							
                        	<tr><td><?php echo $entry_swap_product_image; ?></td>
                        
                                <td>
									<select name="swap_product_image">
										<?php if ($swap_product_image) { ?>
										<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
										<option value="0"><?php echo $text_disabled; ?></option>
						
										<?php } else { ?>
										<option value="1"><?php echo $text_enabled; ?></option>
										<option value="0" selected="selected"><?php echo $text_disabled; ?></option>
										<?php } ?>
									</select>
                                </td>
                            </tr>
                            
                        	<tr><td><?php echo $entry_display_image_search; ?></td>
                        
                                <td>
									<select name="display_image_search">
										<?php if ($display_image_search) { ?>
										<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
										<option value="0"><?php echo $text_disabled; ?></option>
						
										<?php } else { ?>
										<option value="1"><?php echo $text_enabled; ?></option>
										<option value="0" selected="selected"><?php echo $text_disabled; ?></option>
										<?php } ?>
									</select>
                                </td>
                            </tr>
                            
                        	<tr><td><?php echo $entry_product_page; ?></td>
                        
                                <td>
                                	<?php 
                                	$select1=$select2=$select3=$select4=$select5=$select6="";
                                	if($product_page=="default"){
                                		$select1="selected";
                                	}else if($product_page=="full_width"){
                                		$select2="selected";
                                	}else if($product_page=="full_width_right_block"){
                                		$select3="selected";
                                	}else if($product_page=="left_cols"){
                                		$select4="selected";
                                	}else if($product_page=="two_cols"){
                                		$select5="selected";
                                	}else if($product_page=="right_cols"){
                                		$select6="selected";
                                	}
                                	?>
									<select name="product_page">
										<option value="default" <?php echo $select1; ?> >default</option>
										<option value="full_width" <?php echo $select2; ?> >full width</option>
										
										
										<option value="two_cols" <?php echo $select5; ?> >page width two columns </option>
										<option value="left_cols" <?php echo $select4; ?> >page with left columns </option>
										<option value="right_cols" <?php echo $select6; ?> >page with right columns</option>
									</select>
                                </td>
                            </tr>

						<tr><td><?php echo $entry_category_list; ?></td>
                        
                                <td>
                                	<?php 
                                	$select1=$select2="";
                                	if($category_list=="default"){
                                		$select1="selected";
                                	}else if($category_list=="accordion"){
                                		$select2="selected";
                                	}
                                	?>
									<select name="category_list">
										<option value="default" <?php echo $select1; ?> >default</option>
										<option value="accordion" <?php echo $select2; ?> >accordion</option>
									</select>
                                </td>
                            </tr>

						<tr><td><?php echo $entry_default_display_featured; ?></td>
                        
                                <td>
                                	<?php 
                                	$select1=$select2="";
                                	if($default_display_featured=="slider"){
                                		$select1="selected";
                                	}else if($default_display_featured=="grid"){
                                		$select2="selected";
                                	}
                                	?>
									<select name="default_display_featured">
										<option value="slider" <?php echo $select1; ?> >slider</option>
										<option value="grid" <?php echo $select2; ?> >grid</option>
									</select>
                                </td>
                            </tr>
                     
                        
                        <tr><td><?php echo $entry_default_display_recent; ?></td>
                        
                                <td>
                                	<?php 
                                	$select1=$select2="";
                                	if($default_display_recent=="slider"){
                                		$select1="selected";
                                	}else if($default_display_recent=="grid"){
                                		$select2="selected";
                                	}
                                	?>
									<select name="default_display_recent">
										<option value="slider" <?php echo $select1; ?> >slider</option>
										<option value="grid" <?php echo $select2; ?> >grid</option>
									</select>
                                </td>
                            </tr>
 
                       <tr><td><?php echo $entry_default_display_special; ?></td>
                        
                                <td>
                                	<?php 
                                	$select1=$select2="";
                                	if($default_display_special=="slider"){
                                		$select1="selected";
                                	}else if($default_display_special=="grid"){
                                		$select2="selected";
                                	}
                                	?>
									<select name="default_display_special">
										<option value="slider" <?php echo $select1; ?> >slider</option>
										<option value="grid" <?php echo $select2; ?> >grid</option>
									</select>
                                </td>
                            </tr>
                            
                            
 							<tr><td><?php echo $entry_default_display_bestseller; ?></td>
                                <td>
                                	<?php 
                                	$select1=$select2="";
                                	if($default_display_bestseller=="slider"){
                                		$select1="selected";
                                	}else if($default_display_bestseller=="grid"){
                                		$select2="selected";
                                	}
                                	?>
									<select name="default_display_bestseller">
										<option value="slider" <?php echo $select1; ?> >slider</option>
										<option value="grid" <?php echo $select2; ?> >grid</option>
									</select>
                                </td>
                            </tr>
                      
                       
                       
                       <tr><td><?php echo $entry_percentage_sale_price; ?></td>
						<td>
						<select name="percentage_sale_price">
						<?php if ($percentage_sale_price) { ?>
						<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
						<option value="0"><?php echo $text_disabled; ?></option>
						
						<?php } else { ?>
						<option value="1"><?php echo $text_enabled; ?></option>
						<option value="0" selected="selected"><?php echo $text_disabled; ?></option>
						<?php } ?>
						</select>
						</td>
						</tr>
						 
						<tr><td><?php echo $entry_enable_default_menu; ?></td>
						
						<td>
						<select name="enable_default_menu">
						<?php if ($enable_default_menu) { ?>
						<option value="1" selected="selected"><?php echo $text_enabled; ?></option>
						<option value="0"><?php echo $text_disabled; ?></option>
						
						<?php } else { ?>
						<option value="1"><?php echo $text_enabled; ?></option>
						<option value="0" selected="selected"><?php echo $text_disabled; ?></option>
						<?php } ?>
						</select>
						</td>
						</tr>
				
						<tr>
							<td><?php echo $entry_min_shop_price; ?></td>
							<td>
								<input name="min_shop_price" value="<?php echo $min_shop_price; ?>"/>
							</td>
						</tr>
						<tr>
							<td><?php echo $entry_max_shop_price; ?></td>
							<td>
								<input name="max_shop_price" value="<?php echo $max_shop_price; ?>"/>
							</td>
						</tr>
					
				</table>
				

			</div><!--/other setting-->
			
	   </div><!--/data_right-->
	</form>
		
	</div>
    </div>
</div><!--back_ptrn-->
</div>

<?php echo $footer; ?>

<script>
// Tabs
//---------------------------------------------
/* <![CDATA[ */
$(document).ready(function(){
	$(".tab_content").hide();
$("ul.tabs").each(function() {
    $(this).find('li:first').addClass("active");
    $(this).next('.tab_container').find('.tab_content:first').show();
});

$("ul.tabs li a").click(function() {
    var cTab = $(this).closest('li');
    cTab.siblings('li').removeClass("active");
    cTab.addClass("active");
    cTab.closest('ul.tabs').nextAll('.tab_container:first').find('.tab_content').hide(); 

    var activeTab = $(this).attr("href"); //Find the href attribute value to identify the active tab + content
    $(activeTab).fadeIn(); //Fade in the active ID content
    return false;
});
});
/* ]]> */
</script>

<script type="text/javascript">

	$('#settings_tabs a').tabs(); 
	$('#footer_settings_tabs a').tabs();

</script>

<script type="text/javascript" src="view/javascript/jscolor/jscolor.js"></script> 

<script type="text/javascript"><!--

$(document).ready(function() {

	$('	#background_color').ColorPicker({
		onSubmit: function(hsb, hex, rgb, el) {
			$(el).val(hex);
			$(el).ColorPickerHide();
		},
		onBeforeShow: function () {
			$(this).ColorPickerSetColor(this.value);
		}
	})
	.bind('keyup', function(){
		$(this).ColorPickerSetColor(this.value);
	});
	 });

//--></script>

<script type="text/javascript"><!--
function image_upload(field, preview) {
	$('#dialog').remove();
	
	$('#content').prepend('<div id="dialog" style="padding: 3px 0px 0px 0px;"><iframe src="index.php?route=common/filemanager&token=<?php echo $token; ?>&field=' + encodeURIComponent(field) + '" style="padding:0; margin: 0; display: block; width: 100%; height: 100%;" frameborder="no" scrolling="auto"></iframe></div>');
	
	$('#dialog').dialog({
		title: '<?php echo $text_image_manager; ?>',
		close: function (event, ui) {
			if ($('#' + field).attr('value')) {
				$.ajax({
					url: 'index.php?route=common/filemanager/image&token=<?php echo $token; ?>&image=' + encodeURIComponent($('#' + field).val()),
					dataType: 'text',
					success: function(data) {
						$('#' + preview).replaceWith('<img src="' + data + '" alt="" id="' + preview + '" />');
					}
				});
			}
		},	
		bgiframe: false,
		width: 700,
		height: 400,
		resizable: false,
		modal: false
	});
};
//--></script> 

<script>

</script>